package com.spring.component.auth.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author liushihua
 * @since 2018年03月23日
 */
public class Menu implements Serializable {
  private static final long serialVersionUID = 1L;
  private String id;
  private String title;
  private String icon;
  private String url;
  private List<Menu> subMenus;
  private List<String> items;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public List<Menu> getSubMenus() {
    return subMenus;
  }

  public void setSubMenus(List<Menu> subMenus) {
    this.subMenus = subMenus;
  }

  public List<String> getItems() {
    return items;
  }

  public void setItems(List<String> items) {
    this.items = items;
  }

  @Override
  public String toString() {
    return "Menu{" + "id='" + id + '\'' + ", title='" + title + '\'' + ", icon='" + icon + '\''
        + ", url='" + url + '\'' + ", subMenus=" + subMenus + ", items=" + items + '}';
  }
}
